﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <script type="text/javascript" src="Javascript/jquery-1.4.4.js"></script>
    <script type="text/javascript" src="Javascript/Dictionary.js"></script>
    <script type="text/javascript" src="Javascript/jshashtable.js"></script>
    <script type="text/javascript" src="Javascript/RequestInfo.js"></script>
    <script type="text/javascript">
        function test() 
        {
            sendajax("default.aspx",function (data)
             {
                $("#result").text(data);
            },{EnableCache:true});
        }
        function test1()
        {
            sendajax("default.aspx?query=1",function (data)
             {
                $("#Div1").text(data);
            },{EnableCache:true});
        }
    </script>
</head>
<body>
    <div>
    default.aspx:
    <input type="button" value="Test" onclick="test();" />
    </div>
    <div id="result">
    </div>
    
    <div>
    default.aspx?query=1
    <input type="button" value="Test" onclick="test1();" />
    <div id="Div1">
    </div>
    </div>
</body>
</html>
